{% extends "issues/base.html" %}
{% load markup %}
{% block title %}{{ question.question|striptags|truncatewords:10 }}{% endblock %}
{% block content %}
<p>{{ question.question|striptags }}</p>
<div id="replies">
{% for reply in reply_list %}
<div class="reply">
<div class="replyText">
{{ reply.reply|striptags|markdown }}
</div>
<div class="replyFooter">
(Entered {{ reply.entry_date|timesince }} ago{% if reply.submitter %} by {% firstof reply.submitter.get_full_name reply.submitter.username %}{% endif %}.)
</div>
</div>
{% endfor %}
{% ifequal question.answered 'Y' %}
<p>This question is closed.</p>
{% else %}
<form action="reply/" method="post">
<p>Enter a reply:<br />
<textarea name="text" rows="8" cols="80"></textarea><br />
<input type="submit" value="Submit" />
</p>
</form>
{% endifequal %}
{% if can_close %}
<form action="close/" method="post">
<input type="submit" value="Close this question" />
</form>
{% endif %}
</div>
{% endblock %}
